package com.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.article.entity.QUsers;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface QUserMapper extends BaseMapper<QUsers> {


    List<QUsers> getPageList(@Param("iPage") IPage iPage, @Param("obj") QUsers obj);


    int insertDb(@Param("obj") QUsers obj);


    QUsers getByIds(@Param("id") Integer id);


    int updatesDb(@Param("obj") QUsers obj);


    int deleteDb(@Param("id") Integer id);


    QUsers login(@Param("userAccount") String userAccount, @Param("userPwd") String userPwd, @Param("userRole") String userRole);



}
